package cate.game.role.res.holy_pet.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBHolyPet;
import cate.game.role.res.holy_pet.core.SingleHolyPetPO;
import cate.game.role.res.holy_pet.core.SingleSceneVO;
import easy.java.dev.note.NoteField;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import java.util.Map;

/**
 * 灵宠-主消息 返回
 *
 * @author ShenSL
 * @since 2023/8/26 14:05
 */
@NoArgsConstructor
@AllArgsConstructor
@ClientMsg(title = "灵宠-主消息 返回")
public class HolyPetMainInfoResp implements MsgOutput {
    @NoteField("灵宠Map")
    public Map<Integer, SingleHolyPetPO> pets;
    @NoteField("场景Map")
    public Map<Integer, SingleSceneVO> scenes;
    @NoteField("已消耗的精力")
    public int energyUsed;
    @NoteField("已协助次数")
    public int supportUsed;

    @Override
    public MsgConfig conf() {
        return MsgIdBHolyPet.MAIN_INFO_RESP;
    }
}
